package com.automapper.sqlfragment.impl;

import com.automapper.sqlfragment.TableFragment;

public class TableSqlFragment implements TableFragment {
	
	private String table;
	private String alias;

	public TableSqlFragment(String table, String alias) {
		this.table = table;
		this.alias = alias;
	}

	@Override
	public String getTableFragment() throws Exception {
		return table + " " + alias;
	}
}
